/**
 * Created by XK-SH on 2017/6/19.
 */
import Vue from 'vue'
import VueResource from 'vue-resource';
Vue.use(VueResource);

export default {
  /**
   * 换床流程分页查询
   */
  queryMemberBedChangeResultDTOList(pageSize,pageNum,queryData) {
    return Vue.http.post("/memberActivity/m/progress/" + pageSize + "/" + pageNum,queryData);
  },
  /**
   * 获取会员换床的“任务ID-任务名称”
   */
  getMemberBedChangeTaskKeyList(){
    return Vue.http.post("/memberBedChange/m/getMemberBedChangeTaskKeyList");
  },
  /**
   * 中止流程
   */
  abortProcess(){
    return Vue.http.post("/memberBedChange/m/abortProcess");
  },
  /**
   * 换床申请提交
   */
  bedChangingFor(val){
    return Vue.http.post("/memberBedChange/m/bedChangingFor",val);
  },
  /**
   * 换床确认
   */
  affirmBed(actId){
    return Vue.http.post("/memberBedChange/m/getBedChangeInfo/"+actId);
  },


}
